<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<jsp:include page="head.jsp" />
<body class="page-body  page-fade">
<jsp:include page="nav.jsp" />
<div class="table-responsive">
                      
  <table align="center" cellspacing="0" class="table table-small-font table-bordered table-striped">
                                    <!-- 表头 -->
            <thead >
            <tr>
                <th colspan=8>服务器信息</th>
             </tr>
                <tr>
                <th colspan=8></th>
             </tr>
                   </thead>
                                      <!-- 账号信息 -->
              <tbody>
           
                <tr>
                      <td>服务器地址：${header.host }</td>     
                 </tr>
                    <tr>
                      <td>服务器版本：<%= application.getServerInfo() %></td>     
                 </tr>
                
                   <tr>
                      <td>服务器端口：<%=request.getServerPort() %></td>     
                 </tr>
                  <tr>
                      <td>服务器路径：<%= System.getProperty("user.dir")  %></td>     
                 </tr>
                 <tr>
                      <td>Session标识符：<%= session.getId() %></td>     
                 </tr>
                  <tr>
                      <td>Session创建时间：<%= new Date(session.getCreationTime()).toString() %></td>     
                 </tr>
                  <tr>
                      <td>Session最后访问：<%=new Date(session.getLastAccessedTime()).toString() %></td>     
                 </tr>
                    <tr>
                      <td>Session超时时间：<%= session.getMaxInactiveInterval()%></td>     
                 </tr>
                 
                    <tr>
                      <td>请求头信息：${header["user-agent"] }</td>     
                 </tr>
                 <tr>
                      <td>请求头语言：${headerValues["Accept-Language"][0] }</td>     
                 </tr>
                 
                 
                 
                 
                 <tr>
                      <td>当前项目：<%= application.getServletContextName() %></td>     
                 </tr>
                 <tr>
                      <td>项目路径：<%=request.getRealPath("/") %></td>     
                 </tr>
                     <tr>
                      <td>请求页面：<%=request.getRequestURL() %></td>     
                 </tr>                           
              </tbody>
       </table>
  </div>



<jsp:include page="copy.jsp" />